{extend name="/base" /}

{block name="main"}
<div class="col-md-10">
  
  <div class="row">
    <div class="col-md-12">
        <div class="card">
            <div class="card-body">
                <form action="{:url('ptype/add1')}" method="POST"  enctype="multipart/form-data">
                    <div class="form-group">
                        <label for="usr">作品类型名称</label>
                        <input type="text" class="form-control" id="usr" name="name" required>
                    </div>
                    

                    <button type="submit" class="btn btn-primary">添加</button>
                </form>

            </div>
        </div>
    </div>
  </div>

</div>
{/block}